FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE
ENV SPRING_PROFILES_ACTIVE docker
COPY ${JAR_FILE} app.jar
EXPOSE 1593
ENTRYPOINT ["java","-Xmx200m","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]